@charset "UTF-8";
/* CSS Document */

/* IMS Program Stylesheet
Last updated on 9/15/2021
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/**** Miami University Canvas Supplemental CSS V1.1.0
****/

/* Creating sections with gray background */

.section-gray {
    margin: 2rem auto;
    padding: 1.5rem 1rem;
}

@media (min-width: 1060px) {
    .section-gray {
        padding: 3rem 4rem;
    }
}

.section-gray {
    background-color: #f5f5f5;
    border: 2px solid #fafafa;
}

.section-gray > .row {
    margin-left: -5px;
}

.section-gray h2 {
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 2.4rem;
}

.section-gray h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    margin: 1.5rem 0 -0.3rem 0;
}

.section-gray h4 {
    font-weight: 700;
}


.section-gray > .row {
    margin-left: -5px;
}

div.left-cap, div.right-cap {
    background-color: #fafafa;
    border: 1px solid #f9f9f9;
}


/* Line icons - module overview page v1 - DEPRECIATED - do not use */

.line-icon {
    max-width: 2100px;
    width: 100%;
	height: auto;
	margin: 0 auto 8px auto;
	padding: 0;
}

@media (max-width: 800px) {
    .line-icon {
        visibility: hidden;
        display: none;
    } 
}


/** Module Overview v2 Dark Gray Sections -- DEPRECIATED -- Do not use **/

.section-darkgray {
    background-color: #f0f0f0;
    border-bottom: 3px solid #fafafa;
    border-top: 3px solid #fafafa;
    padding: 1rem 2rem 1rem 4.3rem;
    margin: 2rem 0rem 2rem -2rem;
}



/**** IMS stylesheet - ETBD department styling for all courses except Esports
****/

.ims-page {
    padding-top: 2%;
    margin-top: 0;
}

.ims-page, h1.page-title, .ims-subtitle, .gray-intro {
  max-width: 1400px;
  padding-left: 4%;
  padding-right: 4%;
}

.home-subtitle {
    max-width: 1400px;
}

h1.page-title {
  margin-bottom: 1rem;
}

.gray-intro {
    background-color: #f5f5f5;
    padding-top: 3%;
    padding-bottom: 3%;
    border-top: 6px solid #ffffff;
}


/** Headings **/

h2.course-title {
    color: #000000 !important;
}

.pages.show .course-title {
    margin-left: 0.8rem;
}

h1.page-title {
    color: #000000 !important;
    font-weight: bold !important;
    font-size: 3.3rem;
    letter-spacing: 6.5px;
    line-height: 120%;
    margin-bottom: 0;
  text-align: center;
}

  p, .ims-page p, .ims-subtitle p, .gray-intro p, .ims-page ul li, .ims-page ol li, ol.ims-squares li, th, td {
  color: #555555;
  line-height: 1.9;
}

.ims-subtitle p {
    color: #000000 !important;
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: 4px;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.home-subtitle p {
    color: #000000 !important;
    font-weight: normal;
    letter-spacing: 5px;
    font-size: 1.2rem;
    margin-top: -2rem;
    margin-bottom: 0.5rem;
    text-align: left;
    margin-left: 0;
    text-transform: uppercase;
}

.gray-intro p, .gray-intro ul li, .gray-intro ol li {
    color: #000000;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.9;
}
  
 .ims-page h2, .ims-page h3 {
    line-height: 130%;
    color: #000000 !important;
}

.ims-page h2 {
    font-size: 2.2rem;
    margin-top: 3.5rem;
    font-weight: 500 !important;
}

.ims-page h3 {
    font-size: 1.5rem;
    font-weight: 700;
}


/** Hyperlinks and buttons
**/

/* Glenn's required & optional links */

#optional {
    color: #c41230;
}

#optional:after {
    content: url(https://jjkeplinger.com/wp-content/uploads/optional-hyperlink.png);
    padding-left: 0.25rem;
}

#required {
}

#required:after {
    content: url(https://jjkeplinger.com/wp-content/uploads/required-hyperlink.png);
    padding-left: 0.25rem;
}

/* Red, one-line links */

.submit-link {
    color: #c3142d;
    font-size: 1.1rem;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight:700;
}

.submit-link:after {
    color: #c3142d;
    content: '\00BB';
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0 .25rem;
}

.submit-link:hover, .submit-link:active { 
    margin-left: 0.5rem;
    transition: 0.2s;
    color: #9E1025;
}

.submit-link:focus { 
    margin-left: 0.5rem;
    transition: 0.2s;
    color: #9E1025;
}

.submit-link:after:hover, .submit-link:after:active {
    color: #c3142d;
}


/* Creating an ordered list with square number tiles (for short items) */

ol.ims-squares {
    list-style-type: none;
    margin: 0;
    margin: 1.5rem 0 1.5rem 2.2rem;
    padding: 0;
    counter-reset: li-counter;
}

ol.ims-squares > li {
  position: relative;
  margin-bottom: 1.2rem;
  padding-top: 0.3rem;
  padding-left: 1.8rem;
  font-size: 1.1rem;
}

ol.ims-squares > li:before {
  position: absolute;
  top: 0.15rem;
  left: -1.4rem;
  width: 1.9rem;
  height: 1.9rem;
  font-family: "Lucida Console", Monaco, monospace;
  font-weight: 500;
  font-size: 1.3rem;
    line-height: 1.9rem;
  text-align: center;
    padding: 0.1rem;
  color: #ffffff;
  border: 0.1rem solid #6e6e6e;
  background-color: #525252;
  border-radius: 5px;
  content: counter(li-counter);
  counter-increment: li-counter;
}


/* Creating an ordered list with big numbers (for longer items) */

.gray-big-list {
	list-style-type: none;
	margin: 0;
	margin-left: 2rem; 
	margin-bottom: 1.2rem;
	margin-top:1.4rem;
	padding: 0;
	counter-reset: li-counter;
}

.gray-big-list > li {
	position: relative;
	margin-bottom: 0.9rem;
	border-radius: 10px;
	padding-left: 0.6rem;
	min-height: 2rem;
	line-height: 1.5;
	border-left: 3px solid #CFCFCF;
}

.gray-big-list > li:before {
	position: absolute;
	top: -0.5rem;
	left: -1.9rem;
	width: 1.3rem;
    color: #525252;
	font-size: 1.4rem;
	font-family: "Lucida Console", Monaco, monospace !important;
	font-weight: 700;
	line-height: 2;
	text-align: right;
	content: counter(li-counter);
	counter-increment: li-counter;
}

.gray-big-list li:nth-child(10):before { 
    left: -2.5rem;
    width: 2.1rem;
}

.gray-big-list li:nth-child(11):before { 
    left: -2.4rem;
    width: 1.9rem;
}

.gray-big-list li:nth-child(n+12):before { 
    left: -2.6rem;
    width: 2.1rem;
}

.gray-big-list li:nth-child(20):before, .gray-list li:nth-child(30):before {
    left: -2.7rem;
}

.gray-big-list li:nth-child(21):before { 
    left: -2.3rem;
}

.gray-big-list li:nth-child(n+22):before { 
    left: -2.6rem;
}


/** Intro section containers for side-by-side text and video **/

.half-video {
    flex: 100%;
    max-width: 100%;
    margin: 1% 0;
}

.half-text {
	flex: 100%;
	max-width: 97%;
	margin: 1% 3% 1% 0;
}

.ims-video {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;    
    height: 0 !important;
    margin: 0 !important;
    border: 6px solid #fafafa;
}

.ims-video-k {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;    
    height: 21em !important;
    margin: 0 !important;
    border: 6px solid #fafafa;
    max-width: 800px;
    background-color: #fafafa;
}

  .ims-video iframe, .ims-video-k iframe {
    position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
    max-width: 100% !important;
}

.ims-video h3, .ims-video-k h3 {
    margin-top: 0;
}

.half-video h2, .half-text h2 {
    margin-top: 2rem;
}

.half-text h2:first-child {
  margin-bottom: 0;
}
  
  @media (min-width: 1200px) {
	.half-video {
		flex: 50%; 
		max-width: 50% !important;
	}
    
    .half-text {
      flex: 50%;
      max-width: 47%;
    }
}
  
  @media (min-width: 1200px) {
	.half-video {
		flex: 50%; 
		max-width: 50% !important;
	}
    
    .half-text {
      flex: 50%;
      max-width: 47%;
    }
}

@media (min-width: 1300px) {
      .ims-video-k {
          height: 16em !important;
      }
}


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.ims-table {
  overflow-x: auto;
}

.ims-table table {
	border-collapse: collapse;
	display: block;
    margin: 2rem auto;
}

.ims-table tr:nth-child(even) {
  background-color: #fafafa;
}

.ims-table td {
    text-align: left;
    vertical-align: top;
	padding: 10px !important;
	border-bottom: 0.1rem solid #f2f2f2;
    color: #555555;
} 

.ims-table th {
    vertical-align: top;
    text-align: left;
    font-weight: 700;
}

.ims-table th[scope=col] {
    color: #525252 !important;
    vertical-align: bottom;
    padding: 1rem 0.75rem 0.25rem 0.75rem;
}

.ims-table th[scope=row] {
    border-bottom: 0.1rem solid #f2f2f2;
    padding: 10px !important;
}

.ims-table th:first-child,
.ims-table td:first-child {
  padding-left: 2rem !important;
}

.ims-table th:last-child,
.ims-table td:last-child {
  padding-right: 2rem !important; 
}
	
.ims-table tr:last-child, .ims-table th[scope=col] {
  border-bottom: 0.15rem solid #f2f2f2;
	}

/* Accordion */

.page-accordion, .page-accordion-2 {
  outline: 0;
  box-sizing: border-box;
}

.page-accordion section, .page-accordion-2 section {
  margin: 0.5rem 0 2.5rem -1rem;
  width: 99%;
  color: #000000;
}

.page-accordion summary, .page-accordion-2 summary {
  display: block;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.9;
  transition: .3s;
  user-select: none;
    border-bottom: 0.5px solid #ffffff;
}

.page-accordion-2 summary {
    background-color: #fafafa;
    border-bottom: 4px solid #f9f9f9;
}

.page-accordion summary:before, .page-accordion-2 summary:before {
    content: "\002B";
    font-size: 1.6rem;
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding-right: 0.5rem;
}

.page-accordion details, .page-accordion-2 details {
  overflow: auto;
  height: 100%;
  user-select: none;
  padding: 0.5rem 1rem;
}

.page-accordion details:focus, .page-accordion-2 details:focus {
    outline: 0;
}

.page-accordion details[open] > summary, .page-accordion-2 details[open] > summary {
   color: #555;
    margin-bottom: 1.5rem;
}

.page-accordion details[open] > summary:before, .page-accordion-2 details[open] > summary:before {
   content: "\2212";
}


@media (min-width: 768px) {
  .page-accordion details[open] > p, .page-accordion-2 details[open] > p {
    opacity: 0;
    animation-name: accOpen;
    animation-duration: 0.6s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
  }

  .page-accordion details[open] > div,  .page-accordion-2 details[open] > div {
    animation-name: accSlide;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }
}

@keyframes accSlide {
  from {
    opacity: 0;
    height: 0;
    padding: 0;
  }

  to {
    opacity: 1;
    height: var(--contentHeight);
    padding: 20px;
  }
}

@keyframes accOpen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* Header with anchor links menu and hero image */

.ims-nav {
  display: block;
  box-sizing: border-box;
  background: #000000;
  float: left;
  width: 100%;
  margin: 0rem auto 3rem auto;
  border-top: 3px solid #979797;
}

.ims-nav img {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.menu-container {
  margin: 0rem auto;
  padding: 0.25rem 0.5rem;
}

.menu-row {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.ims-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  justify-content: center;
}

.ims-nav ul li {
  display: inline-block;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.ims-nav ul li a {
  margin: 0 0.25rem;
  color: #fff;
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  text-decoration: none !important;
  transition: color 250ms ease, background 500ms ease;
}

.ims-nav ul li a:hover, .ims-nav ul li a:focus {
  background-color: #525252;
}

.ims-nav ul li a:active {
  background-color: #ffffff;
  color: #555555;
}

@media screen and (min-width: 700px) {
    .ims-nav ul li {
        font-size: 1.1rem;
}
    
    .menu-container {
  padding: 0.25rem 1.5rem;
}

    .menu-row {
  margin: 0 1.5rem;
}
}



/**** Esports stylesheet - only use for IMS courses in Esports programs
****/

/** Basic page styling **/

.emp-page, .emp-subtitle, .black-intro {
    max-width: 1400px;
    padding: 0 4%;
    overflow: hidden;
    margin: 0 auto;
}

.black-intro {
    background-color: #333;
    padding-top: 3%;
    padding-bottom: 3%;
    border-top: 6px solid #ffffff;
}

.emp-page p, .emp-page ul li, .emp-page ol li, ol.emp-squares li, a.emp-button, .black-intro p {
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 400;
}

.emp-page p, .emp-page ul li, .emp-page ol li, ol.emp-squares li, a.emp-button {
  color: #000000 !important;
}

.black-intro p {
    color: #ffffff !important;
}


/** Headings **/

.emp-subtitle p {
    color: #000000 !important;
    text-align: center;
    text-transform: uppercase;
}

.emp-subtitle {
  font-size: 0.975rem;
  font-weight: normal;
  letter-spacing: 5px;
  line-height: 1.5;
  margin: -0.5rem 0 1.5rem 0;
}
  
 .emp-page h2, .emp-page h3 {
   color: #c41230 !important;
   font-weight: 600 !important;
   letter-spacing: 1px;
   line-height: 1.5;
   font-style: italic;
   margin-bottom: 0.75rem;
}

.emp-page h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
}

.emp-page h3 {
  font-size: 1.5rem;
}

.half h3 {
    margin-top: 0;
}


/** Hyperlink styling **/

.emp-page a[href] {
    color: #c41230 !important;
    text-decoration: underline;
    cursor: pointer;
}

.emp-page a:hover, .emp-page a:active {
  color: #c41230 !important;
  font-weight: bold;
  transition: .3s;
}

.emp-page a:focus {
  outline: 2px dotted #c41230;
}


/* Red buttons */

a.emp-button {
  display: inline-block;
  border: 2px solid #a3a3a3 !important;
  border-radius: 3px;
  text-decoration: none !important;
  color: #c41230;
  font-weight: 500 !important;
  padding: 10px 20px;
  margin: 0.5rem 0 1.5rem 0;
  transition: all .3s ease-in-out;
}

a.emp-button:hover, a.emp-button:active {
  color: #000000 !important;  
  transform: scale(1.03);
}


/** Images **/

img.emp-left {
  border: 6px double #CF1F2D;
  border-radius: 3px;
  float: left;
  margin: 0.3rem 2.5rem 2rem 0rem;
  max-width: 250px;
}


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.emp-table {
    overflow-x:auto;
}

.emp-table table {
	border-collapse: collapse;
	display: block;
  margin: 2rem auto;
}

.emp-table tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.emp-table td {
    text-align: left;
	vertical-align: top;
	padding: 10px !important;
    color: #000000;
} 

.emp-table th {
    padding: 1rem .75rem !important;
    vertical-align: top;
    text-align: left;
    font-weight: 700;
}

.emp-table th[scope=col] {
  background-color: #333333;
  color: #ffffff !important;
  vertical-align: bottom;
}

.emp-table th:first-child,
.emp-table td:first-child {
  padding-left: 2rem !important;
}

.emp-table th:last-child,
.emp-table td:last-child {
  padding-right: 2rem !important; 
}
	
.emp-table tr:last-child {
  border-bottom: 0.15rem solid #e5e5e5;
	}


/* Adding square backgrounds to numbers in ordered lists */

ol.emp-squares {
    margin: 0;
    margin: 1.5rem 0 1.7rem 2.2rem;
    padding: 0;
    counter-reset: li-counter;
}

ol.emp-squares > li {
  position: relative;
  margin-bottom: 1.2rem;
  padding-top: 0.4rem;
  padding-left: 1.8rem;
  font-size: 1.15rem;
}

ol.emp-squares > li:before {
  position: absolute;
  top: 0.2rem;
  left: -1.4rem;
  width: 1.7rem;
  height: 1.7rem;
  font-family: "Lucida Console", Monaco, monospace;
  font-weight: 700;
    line-height: 1.65rem;
  font-size: 1.25rem;
  text-align: center;
    padding: 0.3rem 0.2rem;
  color: #ffffff;
  border: 0.1rem solid rgba(195, 20, 45, 0.5);
  border-radius: 3px;
  background-color: #C41230;
  content: counter(li-counter);
  counter-increment: li-counter;
}


@media screen and (min-width: 1200px) {
    ol.emp-squares {
     margin-left: 2.5rem;
}
}
